<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <link rel="stylesheet" href="../bower_components/cmmn-js/dist/assets/diagram-js.css">
  <link rel="stylesheet" href="../bower_components/cmmn-js/dist/assets/cmmn-font/css/cmmn-embedded.css">

  <style>
    #modeler, #viewer, #navigated-viewer {
      height: 600px;
      width: 1000px;
      border: solid 1px #CCC;
      display: block;
      margin-bottom: 20px;
    }
    h1 {
      background: white;
      padding: 5px 10px;
      margin: 0;
    }
    body.fail {
      background: red;
    }
    body.success {
      background: lightgreen;
    }
  </style>

  <title>cmmn-js bower packaging test</title>
</head>
<body class="fail">

  <h1>Modeler (embedded)</h1>
  <div id="modeler"></div>

  <h1>Viewer (embedded)</h1>
  <div id="viewer"></div>

  <h1>Navigated Viewer (embedded)</h1>
  <div id="navigated-viewer"></div>

  <!-- test dependencies -->
  <script src="../bower_components/jquery/dist/jquery.js"></script>

  <!-- cmmn-js -->
  <script src="../bower_components/cmmn-js/dist/cmmn-modeler.js"></script>

  <!-- app -->
  <script src="./embedded-viewer-modeler.js"></script>
</body>
</html>